QT       += core gui network qml sql multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# UI_DIR=./

INCLUDEPATH += $$PWD/ffmpeg/include
LIBS += -L$$PWD/ffmpeg/lib -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lpostproc -lswresample -lswscale

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    VideoVoiceCall/videopullstream.cpp \
    VideoVoiceCall/videopush.cpp \
    httpmgr.cpp \
    message/chatframe.cpp \
    main.cpp \
    mainwindow.cpp \
    message/filemessage.cpp \
    register.cpp \
    message/save.cpp \
    tailor.cpp \
    VideoVoiceCall/videocall.cpp

HEADERS += \
    VideoVoiceCall/videopullstream.h \
    VideoVoiceCall/videopush.h \
    global.h \
    httpmgr.h \
    message/chatframe.h \
    mainwindow.h \
    message/filemessage.h \
    register.h \
    message/save.h \
    singleton.h \
    tailor.h \
    VideoVoiceCall/videocall.h

FORMS += \
    mainwindow.ui \
    register.ui \
    videocall.ui



# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    img.qrc


RC_ICONS = chat.ico
